package cn.pugle.spring.dao;

import cn.pugle.spring.dao.mybatis.BookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by tzp on 6/8/16.<br>
 */
@Component
public class DaoMybatisTestService {
    @Autowired
    private BookDao bookDao;
    public List<Integer> getBookIds() {
        return bookDao.selectBookIds();
    }
}
